﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Factor
{
    public enum MouseType
    {
        None,
        DellMouse,
        HpMouse,
    }
    public class SampleFactor
    {
     public   AbstructMouse CreatMouse(MouseType emMouseType)
        {
            AbstructMouse mouse = null;
            switch (emMouseType)
            {
                case MouseType.HpMouse:
                    mouse = new HpMouse();

                  break;
                case MouseType.DellMouse:
                    mouse = new DellMouse();

                    break;
                default:
                    break;

            }
            return mouse;
        }

    }
}